package month3.day28;

public class Yingwu extends Pet{
    public Yingwu(String name, String variety, int physical){
        super(name,variety,physical);
    }
    public void fly(){
        System.out.println("有飞行的方法");
    }
    public void print() {
        super.print();
        fly();
    }
}
